package com.gxa.attendCalender.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalTime;
import java.time.Year;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 考勤日历设计表
 * </p>
 *
 * @author gxa
 * @since 2022-11-03
 */
@Getter
@Setter
@TableName("attend_calender")
@ApiModel(value = "AttendCalender对象", description = "考勤日历设计表")
public class AttendCalender implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键自动增长")
      @TableId("calender_id")
    private Integer calenderId;

    @ApiModelProperty("考勤日历的年份字段")
    @TableField("calender_year")
    private Year calenderYear;

    @ApiModelProperty("考勤日历的月份字段")
    @TableField("calender_month")
    private Integer calenderMonth;

    @ApiModelProperty("考勤日历的日期字段")
    @TableField("calender_date")
    private Integer calenderDate;

    @ApiModelProperty("早晨考勤的开始时间")
    @TableField("morning_start")
    private LocalTime morningStart;

    @ApiModelProperty("早晨考勤的结束时间")
    @TableField("morning_end")
    private LocalTime morningEnd;

    @ApiModelProperty("早晨考勤的迟到截止时间,超出则为旷课")
    @TableField("morning_late")
    private LocalTime morningLate;

    @ApiModelProperty("下午考勤的开始时间")
    @TableField("middle_start")
    private LocalTime middleStart;

    @ApiModelProperty("下午考勤的结束时间")
    @TableField("middle_end")
    private LocalTime middleEnd;

    @ApiModelProperty("早晨考勤的迟到截止时间,超出则为旷课")
    @TableField("middle_late")
    private LocalTime middleLate;

    @ApiModelProperty("晚上考勤的开始时间")
    @TableField("night_start")
    private LocalTime nightStart;

    @ApiModelProperty("晚上考勤的结束时间")
    @TableField("night_end")
    private LocalTime nightEnd;

    @ApiModelProperty("任务编号,对应任务表中的task_id字段")
    @TableField("task_id")
    private Integer taskId;


}
